import {get,post,deletes,put} from '@/utils/request/http';

// 获取管理员列表api
export const getAdminList = (params: any) => get('/api/getAdminList', params);

// 添加管理员api
export const addAdmin = (params: any) => post('/api/addAdmin', params);

// 删除管理员api
export const deleteAdmin = (params: any) => deletes('/api/deleteAdmin', params);

// 修改管理员api
export const editAdmin = (params: any) => put('/api/editAdmin', params);